package com.dkm.nettysocketdemo.untils.jwt.login;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @PROJECT_NAME: orproject
 * @DESCRIPTION: 用来认证的token
 * @USER: 周佳佳
 * @DATE: 2020/7/23 11:09
 */
@Target({ElementType.METHOD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface UserLoginToken {
    boolean required() default true;
}
